﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class pages_Demo_tab_TabDemo : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Calendar1_SelectionChanged(object sender, EventArgs e)
    {
        this.txtDate.Text = Calendar1.SelectedDate.ToShortDateString();
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        string name = txtName.Text.Trim();
        string email = txtMail.Text.Trim();
        string sex = DropDownList1.SelectedValue;
        string text = txtMyText.Text.Trim();
        string date = txtDate.Text;

        Response.Redirect("TabResult.aspx?name="+name+"&email="+email+"&sex="+sex+"&text="+text+"&date="+date);
    }
}
